import request from '@/utils/request';

export function getProductList(data) {
  return request({
    url: '/Product/GetProductList',
    method: 'post',
    data
  });
}

export function getProductInfo(data) {
  return request({
    url: '/Product/GetProductInfo?ProductID=' + data,
    method: 'get'
  });
}

export function saveProductInfo(data) {
  return request({
    url: '/Product/SaveProductInfo',
    method: 'post',
    data
  });
}

export function setProductState(data) {
  return request({
    url: '/Product/SetProductState',
    method: 'post',
    data
  });
}



